<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
 <%

 String path = request.getContextPath();
 	String basePath = request.getScheme() + "://"
 			+ request.getServerName() + ":" + request.getServerPort()
 			+ path + "/";
 %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
  
  <head>
    <meta charset="utf-8">
    <title>管理员</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- Le styles -->
    <link href="<%=basePath%>assets/css/bootstrap.css" rel="stylesheet">

    <style>
      body { padding-top: 60px; /* 60px to make the container go all the way
      to the bottom of the topbar */ }
    </style>
    <link href="<%=basePath%>assets/css/bootstrap-responsive.css" rel="stylesheet">
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js">
      </script>
    <![endif]-->
    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="<%=basePath%>assets/ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="<%=basePath%>assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<%=basePath%>assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<%=basePath%>assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="<%=basePath%>assets/ico/apple-touch-icon-57-precomposed.png">
    <style>
    </style>
    
    

  </head>
  <body>
    <div class="container-fluid">
  <div class="row-fluid">
    <div class="span2">
      <!--Sidebar content-->
      	<h4><a href="demoAction.action">首页</a></h4>
      	<h4><em>公告列表</em></h4>
      	<h4><a href="userAction.action">用户列表</a></h4>
      	
    </div>
    <div class="span10">
    <legend><i class="icon-th-list"></i>公告列表</legend>
				<div class="container-fluid">
					<div class="row-fluid">
						<div class="span12">
							<div class="row-fluid">
								<div class="span12">
									<div class="row-fluid">
									<form class="form-horizontal">
										<div class="span6">
										<div class="control-group">
											<label class="control-label" for="inputEmail">标题</label>
											<div class="controls">
												<input type="text" id="title" placeholder="Email">
											</div>
										</div>
										</div>
										
										<div class="span6">
										<div class="control-group">
											<label class="control-label" for="inputPassword">内容</label>
											<div class="controls">
												<input type="text" id="content" placeholder="Password">
											</div>
										</div>
										
										<div class="control-group">
											<!-- <label class="control-label" for="inputPassword">Password</label> -->
											<div class="controls">
												<button type="button" class="btn btn-primary" id="searchPar"><i class="icon-search"></i>查询</button>&nbsp;&nbsp;&nbsp;&nbsp;<button type="button" class="btn btn-success" onclick="javascript:indexPage.xj()">添加数据</button>
											</div>
										</div>
										</div>
									</form>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>

				<!--Body content-->
      <!-- <a href="manager/modules/demo/save.jsp">添加数据</a> -->
      <!-- <a href="javascript:indexPage.xj()"/>添加数据</a> -->
      
      				<table id="dataTableList" class="table table-striped table-bordered table-condensed">
					<thead>
						<tr>
						<th align="center">#</th>
						<th align="center">标题</th>
						<th align="center">内容</th>
						<th align="center">日期</th>
						<th align="center">操作</th>
						</tr>
					</thead>
					<tbody>
					</tbody>
				</table>
    </div>
  </div>
</div>

<div id="inputnotice" style="display:none;width:918px; border-bottom:0px;">
<div class="container">
     <form class="form-horizontal" action="" id="dataForm">
        <fieldset>
          <legend>公告录入</legend>
          <div class="control-group">
            <label class="control-label" for="input01">标题</label>
            <div class="controls">
              <input type="text" class="input-xlarge" id="input01" name="demo.title">
              <p class="help-block">
	      	</p>
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="textarea">内容</label>
            <div class="controls">
              <textarea class="input-xlarge" id="textarea" rows="3" name="demo.content"></textarea>
                            <p class="help-block">
	      	</p>
            </div>
          </div>
          <div class="form-actions">
            <button type="button" class="btn btn-primary" onclick="javascript:indexPage.add()">保存</button>
            <button class="btn" onclick="javascript:indexPage.qx()">取消</button>
          </div>
        </fieldset>
      </form>
    </div>
</div>

<jsp:include page="../common.jsp"/>
<script type="text/javascript" src="<%=basePath%>manager/modules/demo/notice.js" charset="utf-8"></script>
</body>
</html>
